#pragma once
#include "istatu.h"
#include "CSlider.h"
#include "CStaticText.h"
#include "SerialAPI.h"
#include "Misc.h"
class CGPSViewStatu :
	public IStatu
{
public:
	CGPSViewStatu(WCHAR* name);
	~CGPSViewStatu(void);
	virtual bool EnterStatu();
	virtual bool ExitStatu();
	virtual bool EvaluateClickEvent(const WCHAR* elementName);
    LRESULT OnGPSUpdate(WPARAM wParam, LPARAM lParam);
	CSlider* m_pSlider[12],*m_pSliderFixed[12]; 
  
    CStaticText *m_pStaictVid[12];
	CStaticText *m_pStaictSN[12];

	void ShowSNRChart();
	void ShowSkyChart();
	void RefreshGPSInfo();
    SVInfo svInfo[NUM_CH];
    CRect m_rc;
	bool  m_flag;
};
